import request from '@/utils/request'

export function findLesson() {
  return request({
    url: '/getLesson',
    method: 'get'
  })
}

export function getMessage() {
  return request({
    url: '/getMessage',
    method: 'get'
  })
}

export function add(notice) {
  return request({
    url: '/addNotice',
    method: 'post',
    data: notice
  })
}


export function getTokenn() {
  return request({
    url: '/',
    method: 'get',
    
  })
}